/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.farmcode.api.runtime.metadata.tables;

import com.farmcode.api.runtime.metadata.Child;
import java.io.Serializable;

/**
 *
 * @author oiprado
 */
public class Constraint extends Child implements Serializable{
 
  private String column;

  public Constraint(){
      super();
  }

  public Constraint(String name, String column){
    this();
    setName(name);
    this.column = column;
  }

  /**
   * @return the column
   */
  public String getColumn() {
    return column;
  }

  /**
   * @param column the column to set
   */
  public void setColumn(String column) {
    this.column = column;
  }
}
